html,body{
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
    user-select: none;
}
img{
    border: none;
    vertical-align: middle;
    max-width: 100%;
}
input,select,textarea{
    margin: 0;
    box-sizing: border-box;
}
button[disabled]{
    background: #ccc !important;
    border-color: #ccc !important;
    color: #fff !important;
}
.container{
    height: 100%;
    background: url(../img/bg.png) center no-repeat;
    background-size: cover;
    overflow-y: auto;
}
.aligncenter{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.title{
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}
.empty{
    padding: 10px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.submit{
    color: #fff;
    border: none;
    font-weight: bold;
    background: #ff574d;
    border-radius: 7px;
    width: 100%;
    font-size: 1.5rem;
    letter-spacing: 10px;
    line-height: 2;
    display: block;
    position: sticky;
    bottom: 0;
}
.form{
    position: relative;
    width: 85%;
    max-width: 400px;
    box-sizing: border-box;
    padding: 20px;
    margin: auto;
    background: rgba(255,255,255,.8);
    border-radius: 20px;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 0 35px rgba(0,0,0,.2);
}
.form .group{
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.form .group .label{
    width: 25%;
    flex-shrink: 0;
}
.form .group label{
    display: flex;
    align-items: center;
    line-height: normal;
    margin-right: 20px;
}
.form .group label input{
    margin-right: 5px;
}
.form .group input[type=text],
.form .group input[type=tel],
.form .group input[type=number],
.form .group input[type=password],
.form .group select,
.form .group textarea{
    font-size: 1rem;
    border: none;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background: #fff;
    vertical-align: middle;
}
.form .group textarea{
    padding-top: 5px;
    padding-bottom: 5px;
    height: 100px;
}
.form .group input[disabled]{
    box-shadow: none;
}
.form .upload{
    position: relative;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
    text-align: center;
}
.form .upload .remove{
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    top: -10px;
    right: -10px;
    border-radius: 99px;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.form .upload .remove:before,
.form .upload .remove:after{
    position: absolute;
    top: 50%;
    left: 10%;
    content: '';
    display: block;
    width: 80%;
    height: 1px;
    background: #333;
}
.form .upload .remove:before{
    transform: rotate(45deg);
}
.form .upload .remove:after{
    transform: rotate(-45deg);
}
.form .upload label{
    position: relative;
    display: block;
    height: 30vh;
}
.form .upload label input[type=file]{
    display: none;
}
.form .upload label:after{
    content: '+';
    font-size: 100px;
    font-weight: lighter;
    color: #999;
    line-height: 27vh;
}
.form .upload label img{
    position: absolute;
    width: 100%;
    left: 0;
    height: 30vh;
    object-fit: cover;
}

.form .upload .loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
}
.form .upload .loader:before {
    content: '';
    display: block;
    border: 10px solid transparent;
    border-radius: 100px;
    border-top: 10px solid rgba(255,255,255,.8);
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

.form .sendmsg{
    width: 40%;
    border: 1px solid #ff574d;
    flex-shrink: 0;
    color: #ff574d;
    margin-left: 10px;
    border-radius: 7px;
    background: none;
    height: 40px;
    box-sizing: border-box;
}
.form .tips{
    margin-bottom: 20px;
    font-size: 12px;
    color: #ff574d;
}
.form .group .tags span{
    display: inline-block;
    margin-right: 5px;
    margin-top: 3px;
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid #ccc;
    color: #fff;
    background: #ff1f75;
    border-color: #ff1f75;
    font-size: 12px;
}
.form .imgs{
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}
.form .imgs img{
    width: 49%;
    height: 80px;
    object-fit: cover;
}
.form .placeholder{
    height: 20px;
    flex-grow: 1;
    background: #eee;
    border-radius: 7px;
}
.form-readonly .group{
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}
.form-readonly .status{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.form-readonly .status.status1{
    background-image: url(../img/status1.png);
}
.form-readonly .status.status2{
    background-image: url(../img/status2.png);
}
.form-readonly .status.status3{
    background-image: url(../img/status3.png);
}
.comment .tit{
    font-weight: bold;
    margin-bottom: 10px;
}
.comment .radios{
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.comment .radios label{
    width: 30%;
}
.comment .radios label input{
    display: none;
}
.comment .radios label span{
    display: block;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 3px 10px;
    border-radius: 99px;
    width: 100%;
    text-align: center;
}
.comment .radios label input:checked + span{
    color: #fff;
    background: #ff1f75;
    border-color: #ff1f75;
}
.comment .radios label:nth-of-type(2) input:checked + span{
    background: #0098df;
    border-color: #0098df;
}
.comment .radios label:nth-of-type(3) input:checked + span{
    background: #999;
    border-color: #999;
}
.comment .textarea{
    font-size: 1rem;
    border: none;
    width: 100%;
    height: 80px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background: #fff;
    vertical-align: middle;
    box-sizing: border-box;
}
.comment .tags{
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
}
.comment .tags label{
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
    margin-bottom: 5px;
}
.comment .tags label input{
    display: none;
}
.comment .tags label span{
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid #ccc;
    font-size: 12px;
    background: none;
    color: #333;
}
.comment .tags label input:checked + span{
    color: #fff;
    background: #ff1f75;
    border-color: #ff1f75;
}
.comment .tags span{
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid #ccc;
    font-size: 12px;
    color: #fff;
    background: #ff1f75;
    border-color: #ff1f75;
}
.second-comment{
    margin: 20px 0;
}
.second-comment .radios{
    margin-bottom: 0;
    text-align: center;
    font-size: 1.5rem;
}
.second-comment .radios label{
    width: 45%;
}
.second-comment .radios label:nth-of-type(2) input:checked + span{
    background: #999;
    border-color: #999;
}

.role{
    width: 50%;
}
.role .cont a{
    display: block;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    text-decoration: none;
    padding: 20px 0;
    font-size: 1.5rem;
    border-radius: 10px;
}
.role .cont a:nth-of-type(1){
    background: #b5ec6f;
}
.role .cont a:nth-of-type(2){
    background: #ce62d9;
}
.role .cont a:nth-of-type(3){
    background: #78b3db;
}
.role .cont a:nth-of-type(4){
    background: #c77078;
}

.success{
    background: rgba(255,255,255,.85);
    text-align: center;
    padding: 40px;
    border-radius: 10px;
}
.success .icon img{
    width: 50%;
}
.success .title{
    margin-top: 40px;
}
.success .number{
    position: relative;
    font-size: 6rem;
    font-weight: bold;
}
.success .number + .title{
    margin-top: 0;
    margin-bottom: 0;
}
.success .submit{
    margin-top: 40px;
}
.tab-nav{
    display: flex;
    border-bottom: 1px solid #ccc;
    text-align: center;
}
.tab-nav span{
    position: relative;
    padding-bottom: 10px;
    font-size: 1.5rem;
    width: 50%;
}
.tab-nav span.active{
    color: #ff1f75;
}
.tab-nav span.active::after{
    position: absolute;
    bottom: -1px;
    content: '';
    width: 100%;
    height: 3px;
    display: block;
    background: #ff1f75;
}
.tab-content{
    margin-top: 20px;
    flex-shrink: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tab-content .cont{
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow-y: auto;
}
.tab-content .cont.active{
    display: flex;
}
.tab-content .cont a{
    margin-bottom: 10px;
    width: 48%;
    line-height: 2;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #ff1f75;
    border-radius: 10px;
}
.tab-content .cont:last-child a{
    background: #999;
}
/* .popup{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.65);
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all .6s;
}
.popup.active{
    z-index: 999;
    opacity: 1;
    visibility: visible;
}
.popup .dialog{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.popup .dialog img{
    width: 100%;
} */